package com.cmbchina.entity;


public class SinaExchangeRate {
    private String rate;
    private Currency sourceCurrency;
    private Currency targetCurrency;

    public SinaExchangeRate(String rate, Currency from, Currency to) {
        this.rate = rate;
        this.sourceCurrency = from;
        this.targetCurrency = to;
    }

    public String getRate() {
        return rate;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public Currency getSourceCurrency() {
        return sourceCurrency;
    }

    public void setSourceCurrency(Currency sourceCurrency) {
        this.sourceCurrency = sourceCurrency;
    }

    public Currency getTargetCurrency() {
        return targetCurrency;
    }

    public void setTargetCurrency(Currency targetCurrency) {
        this.targetCurrency = targetCurrency;
    }
}
